package com.springapp.mvc.service;/**
 *
 */

import com.springapp.mvc.entity.Pager;
import com.springapp.mvc.entity.Student;
import com.springapp.mvc.entity.Student;

import java.util.List;


public interface StudentService {
    int addStudent(Student student);

    Student loadByStudentName(String studentName);

    Student login(String studentName, String studentPassword);

    List<Student>  listAllStudnet(int pageOffset);

    Pager<Student> find(String name);

//    Pager<Student> find(String name);
}
